/*
*
* SysDictMapper.java
* Copyright(C) 2017-2020 fendo公司
* @date 2018-12-13
*/
package com.mass.core.sys.dict.dao;

import com.mass.core.sys.dict.model.SysDict;
import com.mass.core.sys.dict.model.SysDictExample;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface SysDictMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(SysDictExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(SysDictExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated
     */
    int insert(SysDict record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(SysDict record);

    /**
     *
     * @mbg.generated
     */
    List<SysDict> selectByExample(SysDictExample example);

    /**
     *
     * @mbg.generated
     */
    SysDict selectByPrimaryKey(Long id);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") SysDict record, @Param("example") SysDictExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") SysDict record, @Param("example") SysDictExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(SysDict record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(SysDict record);
}